﻿using MyCompany.MyProject.Model.Models;

namespace MyCompany.MyProject.WebApi.ModelDto.PermissionDto;

/// <summary>
/// 
/// </summary>
public class RoleModulePermissionVo
{
    /// <summary>
    /// id
    /// </summary>
    public long Id { get; set; }
    /// <summary>
    /// roleId
    /// </summary>
    public long RoleId { get; set; }
    /// <summary>
    /// moduleId
    /// </summary>
    public long ModuleId { get; set; }
    /// <summary>
    /// permissionId
    /// </summary>
    public long PermissionId { get; set; }
    /// <summary>
    /// 是否删除
    /// </summary>
    public bool? IsDeleted { get; set; }
    /// <summary>
    /// 角色
    /// </summary>
    public Role Role { get; set; }
    /// <summary>
    /// 模块（api接口）
    /// </summary>
    public Modules Module { get; set; }
    /// <summary>
    /// 菜单
    /// </summary>
    public Permission Permission { get; set; }
    /// <summary>
    /// 创建者id
    /// </summary>
    public long? CreateId { get; set; }
    /// <summary>
    /// 创建者
    /// </summary>
    public string? CreateBy { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; } = DateTime.Now;
    /// <summary>
    /// 修改者id
    /// </summary>
    public long? ModifyId { get; set; }
    /// <summary>
    /// 修改者
    /// </summary>
    public string? ModifyBy { get; set; }
    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? ModifyTime { get; set; } = DateTime.Now;
}